#ifndef QTSPINNERSPRITE_H
#define QTSPINNERSPRITE_H

#include "QtPixmapSprite.h"
#include "Resourceable.h"
#include "Direction.h"

class QtSpinnerSprite: public QtPixmapSprite, public Resourceable
{
public:
	QtSpinnerSprite(QtSprite *parent = 0);
	~QtSpinnerSprite();

	void SetDirection(const Direction& newDirection);
	void Rotate();
	
	
private:
	unsigned int duration;
	Direction spinDirection;
};

#endif //QTSPINNERSPRITE_H